package shop.services.manage.offlineAccount.impl;

import org.springframework.stereotype.Service;
import shop.core.ServicesManager;
import shop.core.common.dao.page.PagerModel;
import shop.services.manage.offlineAccount.OfflineAccountService;
import shop.services.manage.offlineAccount.bean.OfflineAccount;
import shop.services.manage.offlineAccount.dao.OfflineAccountDao;

import javax.annotation.Resource;

/**
 * Created by wzl on 2017/7/21.
 */
@Service("offlineAccountServiceManage")
public class OfflineAccountServiceImpl extends ServicesManager<OfflineAccount, OfflineAccountDao> implements OfflineAccountService {
    @Resource(name = "offlineAccountDaoManage")
    @Override
    public void setDao(OfflineAccountDao offlineAccountDao) {
        this.dao=offlineAccountDao;
    }

    @Override
    public PagerModel selectAdminPageList(OfflineAccount offlineAccount) {
        return dao.selectAdminPageList(offlineAccount);
    }
}
